package com.es.service;

import com.es.entity.Student;
import java.util.List;

public interface StudentService {

    /**
     * @param student
     * @return
     */
    int save(Student student);

    /**
     * @param student
     * @return
     */
    int update(Student student);

    /**
     * @param id
     * @return
     */
    int delete(Integer id);

    /**
     * @return
     */
    List<Student> list();

    /**
     * @param id
     * @return
     */
    Student get(Integer id);
}
